// 2716. 最小化字符串长度
// AC: https://leetcode.cn/problems/minimize-string-length/submissions/616706621/

class Solution {
public:
    int minimizedStringLength(string s) {
        set<char> st;
        for(auto x:s)
            st.insert(x);
        return st.size();
    }
};